package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成果申请下载记录对象 work_download_record
 * 
 * @author ruoyi
 * @date 2024-10-05
 */
public class WorkDownloadRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 被申请人ID */
    @Excel(name = "被申请人ID")
    private Long reapplyId;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Long applyId;

    /** 申请下载成果名 */
    @Excel(name = "申请下载成果名")
    private String applyTitle;

    /** 申请状态 */
    @Excel(name = "申请状态")
    private Long applyStatus;

    /** 下载状态 */
    @Excel(name = "下载状态")
    private Long downloadStatus;

    /** 下载记录数 */
    @Excel(name = "下载记录数")
    private Long downloadCount;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setReapplyId(Long reapplyId) 
    {
        this.reapplyId = reapplyId;
    }

    public Long getReapplyId() 
    {
        return reapplyId;
    }
    public void setApplyId(Long applyId) 
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setApplyTitle(String applyTitle) 
    {
        this.applyTitle = applyTitle;
    }

    public String getApplyTitle() 
    {
        return applyTitle;
    }
    public void setApplyStatus(Long applyStatus) 
    {
        this.applyStatus = applyStatus;
    }

    public Long getApplyStatus() 
    {
        return applyStatus;
    }
    public void setDownloadStatus(Long downloadStatus) 
    {
        this.downloadStatus = downloadStatus;
    }

    public Long getDownloadStatus() 
    {
        return downloadStatus;
    }
    public void setDownloadCount(Long downloadCount) 
    {
        this.downloadCount = downloadCount;
    }

    public Long getDownloadCount() 
    {
        return downloadCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reapplyId", getReapplyId())
            .append("applyId", getApplyId())
            .append("applyTitle", getApplyTitle())
            .append("applyStatus", getApplyStatus())
            .append("downloadStatus", getDownloadStatus())
            .append("downloadCount", getDownloadCount())
            .toString();
    }
}
